package org.liuhy.node.focus
{
	import mx.events.DragEvent;
	
	import org.liuhy.line.CLine;
	import org.liuhy.line.LineNode;
	import org.liuhy.utils.LineUtils;
	
	public class RightNode extends FocusNode
	{
		import mx.containers.Canvas;
		import mx.controls.Alert;	
		import org.liuhy.node.FlowNode;
		public function RightNode(p_x:int,p_y:int)
		{
			super(p_x,p_y);
		}
		//调整流程节点大小;
		override public function adjustFlowNode(event:DragEvent):void{
			var _flowNode:FlowNode = this.parent as FlowNode;
			_flowNode.width = event.localX - _flowNode.x ;
			_flowNode.reDraw();
		}
		override public function get pos():String{
			return "right";
		}
	}
}